Streams import Class
Allows $app/admins in a community o download of sample csv and upload a filled-out csv. The upload starts a Streams/task where Streams/import handler runs and creates users from the csv, inviting them to certain Streams/experience streams in the community. It also listens to Streams/task/progress messages on the task, displays progress and provides a way to send mass messages to follow up the invitation messages.
Constructor
Streams import
-
[options]
-
[options.linkTitle="Fill
-
[options.fileLabel="Upload
Parameters:
-
[options]
Array optionalthis array contains function parameters
-
[link]
String optionalRequired. URL to the csv file to download, if any. Can be a full url, "{{Module}}/path/file.csv" or one of "university.csv" or "building.csv".
-
[smsText]
String optionalThe text to send in SMS followups
-
[emailSubject]
String optionalThe subject of the email in followups
-
[emailBody]
String optionalThe body of the email, as HTML
-
[smsBatchSize=99]
String optionalThe size of followup sms batches
-
[emailBatchSize=99]
String optionalThe size of followup email batches
-
[communityId=Users::communityId]
String optionalFor Streams/import/post
-
[taskStreamName]
String optionalFor Streams/import/post
-
-
[options.linkTitle="Fill
StringOut This Spreadsheet"] The content of the link to the csv, if csv is set
-
[options.fileLabel="Upload
StringSpreadsheet"] The content of the link to the csv, if csv is set